package com.sjzs.web.po;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Category entity. @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	private Long categoryid;
	private String categoryname;
	private BigDecimal parentid;
	private String parentpath;
	private Long orderid;
	private String orderpath;
	private String keyid;
	private Long child;
	private Long depth;
	private String remark;
	private Set appinfs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(BigDecimal parentid) {
		this.parentid = parentid;
	}

	/** full constructor */
	public Category(String categoryname, BigDecimal parentid,
			String parentpath, Long orderid, String orderpath, String keyid,
			Long child, Long depth, String remark, Set appinfs) {
		this.categoryname = categoryname;
		this.parentid = parentid;
		this.parentpath = parentpath;
		this.orderid = orderid;
		this.orderpath = orderpath;
		this.keyid = keyid;
		this.child = child;
		this.depth = depth;
		this.remark = remark;
		this.appinfs = appinfs;
	}

	// Property accessors

	public Long getCategoryid() {
		return this.categoryid;
	}

	public void setCategoryid(Long categoryid) {
		this.categoryid = categoryid;
	}

	public String getCategoryname() {
		return this.categoryname;
	}

	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}

	public BigDecimal getParentid() {
		return this.parentid;
	}

	public void setParentid(BigDecimal parentid) {
		this.parentid = parentid;
	}

	public String getParentpath() {
		return this.parentpath;
	}

	public void setParentpath(String parentpath) {
		this.parentpath = parentpath;
	}

	public Long getOrderid() {
		return this.orderid;
	}

	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	public String getOrderpath() {
		return this.orderpath;
	}

	public void setOrderpath(String orderpath) {
		this.orderpath = orderpath;
	}

	public String getKeyid() {
		return this.keyid;
	}

	public void setKeyid(String keyid) {
		this.keyid = keyid;
	}

	public Long getChild() {
		return this.child;
	}

	public void setChild(Long child) {
		this.child = child;
	}

	public Long getDepth() {
		return this.depth;
	}

	public void setDepth(Long depth) {
		this.depth = depth;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getAppinfs() {
		return this.appinfs;
	}

	public void setAppinfs(Set appinfs) {
		this.appinfs = appinfs;
	}

}